import java.util.*;
/**
 * @author 
 * Yannic Remmet			196983
 * Tobias Trabelsi			197112
 * Anna-Katharina Wickert	197122
 */
public class TreeSetLibrary<T extends Comparable<? super T>> implements Set<T>  {

	
private SearchTree<T> stock = new SearchTree<T> ();

/* (non-Javadoc)
 * @see java.util.Set#add(java.lang.Object)
 */
@Override
public boolean add(T arg0) {
	int size = stock.size();
	stock.insert(arg0);
	assert stock.size() > size;
	if (stock.size() > size)
		return true;
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#addAll(java.util.Collection)
 */
@Override
public boolean addAll(Collection<? extends T> arg0) {
	throw new UnsupportedOperationException();
}

/* (non-Javadoc)
 * @see java.util.Set#clear()
 */
@Override
public void clear() {
	// TODO Auto-generated method stub
	
}

/* (non-Javadoc)
 * @see java.util.Set#contains(java.lang.Object)
 */
@Override
public boolean contains(Object arg0) {
	// TODO Auto-generated method stub
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#containsAll(java.util.Collection)
 */
@Override
public boolean containsAll(Collection<?> arg0) {
	// TODO Auto-generated method stub
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#isEmpty()
 */
@Override
public boolean isEmpty() {
	// TODO Auto-generated method stub
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#iterator()
 */
@Override
public Iterator<T> iterator() {
	// TODO Auto-generated method stub
	return null;
}

/* (non-Javadoc)
 * @see java.util.Set#remove(java.lang.Object)
 */
@Override
public boolean remove(Object arg0) {
	// TODO Auto-generated method stub
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#removeAll(java.util.Collection)
 */
@Override
public boolean removeAll(Collection<?> arg0) {
	// TODO Auto-generated method stub
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#retainAll(java.util.Collection)
 */
@Override
public boolean retainAll(Collection<?> arg0) {
	// TODO Auto-generated method stub
	return false;
}

/* (non-Javadoc)
 * @see java.util.Set#size()
 */
@Override
public int size() {
	// TODO Auto-generated method stub
	return 0;
}

/* (non-Javadoc)
 * @see java.util.Set#toArray()
 */
@Override
public Object[] toArray() {
	// TODO Auto-generated method stub
	return null;
}

/* (non-Javadoc)
 * @see java.util.Set#toArray(T[])
 */
@Override
public <T> T[] toArray(T[] arg0) {
	// TODO Auto-generated method stub
	return null;
}
}
